package org.jeecg.modules.charge.mapper;

import java.util.List;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.entity.charge.ChargeDiscount;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 缴费优惠规则
 * @Author: jeecg-boot
 * @Date:   2021-01-06
 * @Version: V1.0
 */
public interface ChargeDiscountMapper extends BaseMapper<ChargeDiscount> {

    List<ChargeDiscount> findPage(Page<ChargeDiscount> page, @Param("chargeDiscount") ChargeDiscount chargeDiscount);

    Integer isBind(@Param("projectId") String projectId,@Param("feeId") String feeId);

    ChargeDiscount getDiscount(@Param("chargeDiscount") ChargeDiscount chargeDiscount);

}
